package main

type Bag struct {
	items []int
}

func insert(b *Bag, itemid int) {
	b.items = append(b.items, itemid)
}

func (b *Bag) insert(itemid int)  {
	b.items = append(b.items, itemid)
}

//func main() {
//	bag := new(Bag)
//	insert(bag, 1001)
//	fmt.Println(bag)
//
//	bag.insert(1002)
//	fmt.Println(bag)
//}
